﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CFZS.Model
{
    /// <summary>
    /// BasePower:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public partial class BasePower
    {
        public BasePower()
        { }
        #region Model
        private long _id;
        private string _name;
        private string _symcode;
        private string _descr;
        private string _url;
        private string _path;
        private string _pathname;
        private string _parentsyscode;
        private string _basemenusyscode;
        private int? _isleaf;
        private int? _isactive = 1;
        private long? _lineno;
        private DateTime? _createdat;
        private string _createdby;
        private string _createdbyname;
        private DateTime? _updatedat;
        private string _updatedby;
        private string _updatedbyname;
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string SymCode
        {
            set { _symcode = value; }
            get { return _symcode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Descr
        {
            set { _descr = value; }
            get { return _descr; }
        }
        /// <summary>
        /// 模块文件入口完整的URL路径
        /// </summary>
        public string Url
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// 结点路径
        /// </summary>
        public string Path
        {
            set { _path = value; }
            get { return _path; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string Pathname
        {
            set { _pathname = value; }
            get { return _pathname; }
        }
        /// <summary>
        /// 父结点id
        /// </summary>
        public string ParentSysCode
        {
            set { _parentsyscode = value; }
            get { return _parentsyscode; }
        }
        /// <summary>
        /// 关联菜单表id
        /// </summary>
        public string BaseMenuSysCode
        {
            set { _basemenusyscode = value; }
            get { return _basemenusyscode; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? IsLeaf
        {
            set { _isleaf = value; }
            get { return _isleaf; }
        }
        /// <summary>
        /// 是否启用（0为：停用；1为：启用）
        /// </summary>
        public int? IsActive
        {
            set { _isactive = value; }
            get { return _isactive; }
        }
        /// <summary>
        /// 排序编号
        /// </summary>
        public long? lineno
        {
            set { _lineno = value; }
            get { return _lineno; }
        }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedAt
        {
            set { _createdat = value; }
            get { return _createdat; }
        }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedBy
        {
            set { _createdby = value; }
            get { return _createdby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string CreatedByName
        {
            set { _createdbyname = value; }
            get { return _createdbyname; }
        }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedAt
        {
            set { _updatedat = value; }
            get { return _updatedat; }
        }
        /// <summary>
        /// 更新人
        /// </summary>
        public string UpdatedBy
        {
            set { _updatedby = value; }
            get { return _updatedby; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string UpdatedByName
        {
            set { _updatedbyname = value; }
            get { return _updatedbyname; }
        }
        #endregion Model

    }
}
